<html>
<head>
<script type="text/javascript" src="gaCrossDomainLinker.js"></script>
<style type="text/css">
  .style1 { font-weight: bold; }
  .style2 { font-color: red; }
  .gaxd   { border: 1px solid #CCC; padding: 3px; }
  
  body { font-family: Arial; }
  li { margin-bottom: 4px; }
</style>
</head>
<body>
	<h1>Test page for gaCrossDomainLinker.js</h1>
	A JS class that automatically applies utmLinker to cross-domain links based on the link's class name.<br/>
	<br/>
	Features of this package:
	<ul>
	  <li>Webmaster can easily define the class label to be detected</li>
	  <li>Handles multiple trackers</li>
	  <li>Allows you to run in test mode</li>
	</ul>
	<h2>Let's test out some links!</h2>
	<ul>
	  <li><a href="http://vinoaj.com/?utm_source=gacdt-test&utm_medium=tagged-click" class="gaxd">This link is tagged class=&quot;gaxd&quot; and should be handled</a></li>
	  <li><a href="http://vinoaj.com/?utm_source=gacdt-test&utm_medium=tagged-click" class="style1 gaxd style2">This link is tagged class=&quot;style1 gaxd style2&quot; and should be handled</a></li>
	  <li><a href="http://vinoaj.com/?utm_source=gacdt-test&utm_medium=click">This link is not tagged with any class attributes - it should not be handled</a></li>
	  <li><a href="http://vinoaj.com/?utm_source=gacdt-test&utm_medium=click" class="style1">This link is tagged class=&quot;style1&quot; - it should not be handled</a></li>
	</ul>
	<!-- GATC -->
	<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
		var pageTracker = _gat._getTracker("UA-1857529-1");
		pageTracker._setDomainName('none');
		pageTracker._setAllowLinker(true);
		pageTracker._initData();
		pageTracker._trackPageview();
	</script>
	<!-- end GATC -->
	<script type="text/javascript">
		//if (_gat && _gat != undefined) {
			var xdl = new gaCrossDomainLinker('gaxd');
			xdl._setTestMode(true);
			xdl._setTracker(pageTracker);
			xdl._gaLinkLinks();
		//} else {
		//	alert ('You must call the gaCrossDomainLinker functions AFTER ga.js has been loaded and your pageTracker has been instantiated');
		//}
	</script>
</body>
</html>
